package com.oocl.o2o.admin.service;

import java.util.List;

import com.oocl.o2o.admin.entity.ComplaintInfo;
import com.oocl.o2o.admin.vo.ComplainVO;
import com.oocl.o2o.admin.vo.ComplaintsVo;
import com.oocl.o2o.connectutil.dto.ComplaintDTO;

public interface ComplaintInfoService {
	/**
	 * 
	 * @param id
	 * @return
	 */
	public ComplaintInfo findById(String id);
	
	
	
	/**
	 * 
	 * @return
	 */
	public List<ComplaintInfo> findAll();
	
	/**
	 * 
	 * @param merchantId
	 * @return
	 */
//	public List<ComplaintInfo> findByMerchantId(String merchantId);
	
	public List<ComplaintsVo> findByMerchantId(String merchantId);
	
	/**
	 * 
	 * @param complaintDTO
	 * @return
	 */
	public ComplaintInfo saveComplaintInfo(ComplaintDTO complaintDTO);

	/**

	 * 

	 * @return

	 */
	public List<ComplainVO> findAllComplaintByMerchant();

}
